package org.origin.centre.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 服务配置
 *
 * @author ferret
 * @version 2024-05-08
 */
@SuppressWarnings("ConfigurationProperties")
@ConfigurationProperties(prefix = "server")
public class ServerProperty {
    /**
     * 服务缓存前缀
     */
    private String cacheKeyPrefix = "ferret";

    public String getCacheKeyPrefix() {
        return cacheKeyPrefix;
    }

    public void setCacheKeyPrefix(String cacheKeyPrefix) {
        this.cacheKeyPrefix = cacheKeyPrefix;
    }
}
